package com.zhonghui.service;

import com.zhonghui.common.core.result.FwResult;
import com.zhonghui.dto.OrderCompleteDto;
import com.zhonghui.dto.OrderCreateDto;
import com.zhonghui.dto.PageDto;
import com.zhonghui.dto.PayOrderDto;

import java.util.List;

/**
 * @author: FL
 * @create: 2024 2024/5/5 13:01
 */
public interface OrderService {
    FwResult getOrderPage(PageDto pageDto);

    FwResult createOrder(OrderCreateDto list);

    FwResult getOrderByOrderNo(String orderNo);

    FwResult payOrder(PayOrderDto payOrderDto);

    FwResult completeOrder(OrderCompleteDto orderCompleteDto);

    FwResult cancelOrder(String orderNo);

    FwResult getPayInfo(String orderNo);
}
